package cn.itcast.feign.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;

/**
 * 日志打印在控制台
 */
public class DefaultFeignConfiguration {
    /**
     * 将日志对象存储到ioc容器中
     * @return
     */
    @Bean
    public Logger.Level feignLogLevel(){
        return Logger.Level.BASIC;
    }
}
